package com.zoweunion.mechanic.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ChannelPolicyDao{

    int addChannelPolicy(Map<String,Object> params);

    List<Map<String,Object>> selectChannelPolicyListBySid(Map<String, Object> params);

    int deleteChannelPolicyById(Map<String, Object> params);

    int updateChannelPolicyById(@Param("list") List<Map<String, Object>> list);
}
